import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'mdui/mdui.css';
import 'mdui';
import 'mdui/components/icon.js';
const app = createApp(App)
app.use(router)
// 获取query page参数
const query = window.location.search;
// 获取query参数中的page参数
const page = new URLSearchParams(query).get('page');


router.isReady().then(() => app.mount('#app'))

if (page) {
    router.push("/" + page)
}